﻿Public Interface IAcessoBD

#Region "Métodos"

    Sub setarStringConexao(ByVal sStringConexao As String)

    Sub abrirConexao()

    Sub fecharConexao()

    Function executarAcao(ByVal sSQL As String, ByVal bAbrirFecharConexao As Boolean) As Int32

    Function executarConsulta(ByVal sSQL As String, ByVal bAbrirFecharConexao As Boolean) As DataTable

    Function executarConsultaCampo(ByVal sSQL As String, ByVal bAbrirFecharConexao As Boolean) As Object

    Function testarConexao(ByVal sStringConexao As String) As Boolean

    Function montaStringConexao(ByVal sSenha As String, ByVal sBanco As String, ByVal sServidor As String, ByVal sUsuario As String) As String

    Sub limparParametros()

    Sub inserirParametro(ByVal sParametro As String, ByVal oValor As Object)

#End Region

End Interface
